import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseEntity } from "./base.entity";

@Entity({ name: 'UserExtend' })
export default class UserExtendEntity extends BaseEntity {
  @PrimaryGeneratedColumn()
  SysID: number;

  @Column({ type: 'bigint' })
  UserSysID: number;

  @Column({ type: 'bigint' })
  OtherHalfSysID: number;

  @Column({ type: 'int' })
  CouplesMoney: number;

  @Column({ type: 'int' })
  ContinueSign: number;

  @Column({ type: 'int' })
  SignDay: number;

  /**
   * 今日是否已签到(0未签到1已签到)
   */
  @Column({ type: 'int' })
  IsSign: number;

  /**
   * 是否单身(0单身1有对象)
   */
  @Column({ type: 'int' })
  IsSingle: number;

  @Column({ type: 'varchar',length:25 })
  LoveDate: string;

  @Column({ type: 'varchar',length:20 })
  LoveCode: string;

  /**
   * 是否编辑过纪念日(0未编辑过1编辑过)
   */
  @Column({ type: 'int' })
  EditedCommemorationDay: number;
}